package com.hzit.controller;

import java.util.List;

import com.hzit.entity.Order;
import com.hzit.service.OrderService;
import com.hzit.service.impl.OrderServiceImpl;

public class OrderAction {
	
	private List<Order> list;
	private OrderService orderService = new OrderServiceImpl();
	
	
	public List<Order> getList() {
		return list;
	}



	public void setList(List<Order> list) {
		this.list = list;
	}
	
	public String queryAll(){
		list = orderService.queryAll();
		return "index";	
	}
	
}
